package com.example.springboot.dto;

import lombok.Data;

import java.time.LocalDateTime;

@Data   //个人中心评论
public class CmntCenterDTO {
    private UserDTO userDTO; //用户信息
    private Integer articleId;//作品id
    private Integer id;       //评论id
    private Integer pid;     //父评论id
    private Integer originId;//最上级评论id
    private String name;     //作品名称
    private String content;  //评论内容
    private LocalDateTime createTime;   //评论时间
    private String relativeTime;    //相对时间
}
